package com.pzh.mall.service;

import com.pzh.mall.model.Order;
import com.pzh.mall.model.OrderAction;

import java.util.List;

public interface IOrderActionService {
    void save(Order order, String actinNote, String userId);

    /**
     * 写订单日志
     * @param order
     * @param action 本次做的操作，对应status_desc
     * @param userId
     * @param remark 备注，对应action_note
     */
    void save(Order order, String action, String userId, String remark);

    List<OrderAction> queryByOrderId(Integer orderId);
}
